package com.catazy.wanandroid.common_base.constants

/**
 * 作者: Tao
 * 日期: 2024/4/10
 * 时间: 10:40
 * 描述: 常量类
 */
object Constants {
    const val DB_INSTANCE = "DB_INSTANCE"
    const val TOKEN = "token"
    const val USER_NAME = "username"
    const val USER_ID = "userid"
    const val PASSWORD = "password"
    const val APP_TAG = "WanAndroid"

    /**
     * url key
     */
    const val CONTENT_URL_KEY = "url"

    /**
     * title key
     */
    const val CONTENT_TITLE_KEY = "title"

    /**
     * id key
     */
    const val CONTENT_ID_KEY = "id"

    /**
     * id key
     */
    const val CONTENT_CID_KEY = "cid"

    /**
     * share key
     */
    const val CONTENT_SHARE_TYPE = "text/plain"

    const val POSITION = "position"

    const val COLLECT = "isCollect"

    const val ROUTER_PATH = "routerPath"

//    /**
//     * 不同的module，一级目录必现不能相同
//     */
//    const val NAVIGATION_TO_LOGIN = "/login/module/navigate"
//    const val NAVIGATION_TO_REGISTER = "/register/module/navigate"
//    const val NAVIGATION_TO_MAIN = "/main/module/navigate"
//    const val NAVIGATION_TO_CONTENT = "/content/module/navigate"
//    const val NAVIGATION_TO_HOME_FRG = "/home/fragment/navigate"
//    const val NAVIGATION_TO_WECHAT_FRG = "/wechat/fragment/navigate"
//    const val NAVIGATION_TO_SYS_FRG = "/sys/fragment/navigate"
//    const val NAVIGATION_TO_SQUARE_FRG = "/square/fragment/navigate"
//    const val NAVIGATION_TO_PROJECT_FRG = "/project/fragment/navigate"
//    const val NAVIGATION_TO_COLLECT = "/compose/module/navigate"
//
//    const val SERVICE_COLLECT = "/collect/service"
//    const val SERVICE_LOGOUT = "/logout/service"
//    const val SERVICE_BANNER = "/banner/service"

    object CollectType {
        const val COLLECT = "COLLECT"
        const val UNCOLLECT = "UNCOLLECT"
        const val UNKNOWN = "UNKNOWN"
    }


    object FragmentIndex {
        const val HOME_INDEX = 0
        const val WECHAT_INDEX = 1
        const val SYS_INDEX = 2
        const val SQUARE_INDEX = 3
        const val PROJECT_INDEX = 4
    }
}